/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.tenant.mp.TenantEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 房间表实体类
 *
 * @author John
 * @since 2020-08-15
 */
@Data
@TableName("t_room")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Room对象", description = "房间表")
public class Room extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 房间编号
	*/
		@ApiModelProperty(value = "房间编号")
		private String roomNo;
	/**
	* 房间名称
	*/
		@ApiModelProperty(value = "房间名称")
		private String roomName;
	/**
	* 房间分类：1、普通房间；2、公共区域
	*/
		@ApiModelProperty(value = "房间分类：1、普通房间；2、公共区域")
		private Integer roomClass;
	/**
	* 是否分摊
	*/
		@ApiModelProperty(value = "是否分摊")
		private Integer shared;
	/**
	* 分摊比例
	*/
		@ApiModelProperty(value = "分摊比例")
		private BigDecimal shareRatio;
	/**
	* 室
	*/
		@ApiModelProperty(value = "室")
		private Integer roomShi;
	/**
	* 厅
	*/
		@ApiModelProperty(value = "厅")
		private Integer roomTing;
	/**
	* 厨
	*/
		@ApiModelProperty(value = "厨")
		private Integer roomChu;
	/**
	* 卫
	*/
		@ApiModelProperty(value = "卫")
		private Integer roomWei;
	/**
	* 面积
	*/
		@ApiModelProperty(value = "面积")
		private Integer roomAreas;
	/**
	* 朝向
	*/
		@ApiModelProperty(value = "朝向")
		private Integer orientation;
	/**
	* 装修程度
	*/
		@ApiModelProperty(value = "装修程度")
		private Integer renovation;
	/**
	* 房源类型：1、普通住宅；2、公寓；
	*/
		@ApiModelProperty(value = "房源类型：1、普通住宅；2、公寓；")
		private Integer roomType;
	/**
	* 出租方式
	*/
		@ApiModelProperty(value = "出租方式")
		private Integer rentalMode;
	/**
	* 所属楼栋
	*/
		@ApiModelProperty(value = "所属楼栋")
		private Long estateId;
	/**
	* 业主姓名
	*/
		@ApiModelProperty(value = "业主姓名")
		private String owner;
	/**
	* 业主电话
	*/
		@ApiModelProperty(value = "业主电话")
		private String mobile;
	/**
	* 租客id
	*/
		@ApiModelProperty(value = "租客id")
		private Long memberId;
	/**
	* 租客姓名
	*/
		@ApiModelProperty(value = "租客姓名")
		private String memberName;
	/**
	* 租客电话
	*/
		@ApiModelProperty(value = "租客电话")
		private String memberMobile;
	/**
	* 合同id
	*/
		@ApiModelProperty(value = "合同id")
		private Long contractId;
	/**
	* 出租状态
	*/
		@ApiModelProperty(value = "出租状态")
		private Integer leaseStatus;
	/**
	* 电表id
	*/
		@ApiModelProperty(value = "电表id")
		private Long meterId;
	/**
	* 详细地址
	*/
		@ApiModelProperty(value = "详细地址")
		private String roomAddress;
	/**
	* 装表时间
	*/
		@ApiModelProperty(value = "装表时间")
		private LocalDateTime installDate;
	/**
	* 安装状态：0未安装，1已安装
	*/
		@ApiModelProperty(value = "安装状态：0未安装，1已安装")
		private Integer installStatus;


}
